import { computed } from 'vue'
export const useBacktop = (wrapperref) => {
  const isshowback = computed(() => {
    return wrapperref.value?.isshowback
  })
  const totop = () => {
    wrapperref.value.scorll.scrollTo(0, 0, 1000)
  }
  return {
    isshowback,
    totop
  }
}
